#include"tcpService.hpp"
void USE(const std::string&s)
{
    std::cout<<s<<" [prot]"<<std::endl;
}
int main(int argc,char*argv[])
{

    if(argc != 2)
    {
        USE(argv[0]);
        exit(1);
    }
    uint16_t port = std::stoi(argv[1]);
    TcpService*ps = new TcpService(port);
    ps->Init();
    ps->start();
    return 0;
}